package com.openatc.agent.service;

import com.openatc.agent.model.RingFromStage;
import com.openatc.comm.data.MessageData;
import com.openatc.core.model.RESTRet;
import com.openatc.model.model.*;

import java.util.List;

/**
 * @Classname FeatureService
 * @Description 参数管理接口
 * @Date 2022/1/25 17:49
 * @Created by panleilei
 */
public interface FeatureService {

    List<StageParam> convertPatternRingToStage(String agentid,List<List<List<Split>>> ringsList);

    List<List<List<Split>>> convertStageToPattern(List<List<StageParam>> stageParamList);

    RESTRet saveFeatureAll(MessageData requestData);

    RESTRet deleteFeatureByAgentid(String agentid);

    MessageData getFeatures(String agentid);

    MessageData getFeaturesByInfoType(String agentid, String InfoType);

    List<Phase> getPhase(String agentid);

    List<Pattern> getPattern(String agentid);

    List<Lane> getLane(String agentid);

    int saveRingConfig(RingFromStage ringConfig);

    RingFromStage getRingConfig(String agentid);
}
